package com.ydd.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ydd.entity.SysRoleMenu;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 角色-菜单 Mapper 接口
 * </p>
 *
 * @author itcast
 * @since 2023-05-15
 */
public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenu> {
    @Select("select * from sys_role_menu where role_id=#{id}")
    List<SysRoleMenu> getMenuIds(String id);

    void delByIds(List<String> menuids,String id);
}
